package elaborator;

import java.util.Map;

import elaborator.tests.TestPlanetDatabase;

public class AdapterExportDatabase implements Sender {

	TestPlanetDatabase database;

	public AdapterExportDatabase(TestPlanetDatabase database){
		this.database = database;
		
	}

	@Override
	public void setTemps(int[] temps) {

	}

	@Override
	public void setDiameter(int diameter) {

	}

	@Override
	public void setComposition(Map<Double, String> elements) {
		database.setComposition(elements);
	}

	@Override
	public void setPlanetName(String planet) {
		database.setPlanetName(planet);

	}

	@Override
	public void writeDatabase() {
		database.writeDatabase();
	}

}
